import request from '@/utils/request.js'
import apis from '@/utils/api'
/**
 * @param {Object} params
 * 登录
 */
export function getOpenId(params) {
    return request.globalRequest(apis.getOpenId, 'POST', params)
}

export function wxCheckUserAndLogin(data) {
    return request.globalRequest(apis.wxCheckUserAndLogin, 'POST', data)
}

export default {
	getOpenId,
	wxCheckUserAndLogin
}